package com.hitqz.robot.biz.util;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.hitqz.robot.api.business.component.ExcelSelected;
import lombok.Data;

/**
 * @author wengyx
 * @date 2024/8/7
 * 检测结果
 */
@Data
@ExcelIgnoreUnannotated
@HeadRowHeight(20)
@ColumnWidth(20)
@ContentRowHeight(80)
public class PatrolExcelFormworkDto {
    @ExcelProperty(value = "区域名称")
    private String roomName;
    @ExcelProperty(value = "设备名称")
    private String devName;
    @ExcelProperty(value ="部位名称")
    private String itemName;
    @ExcelSelected(sourceClass = PatrolObjectSelector.class)
    @ExcelProperty(value ="点检内容")
    private String objectName;

}
